<!-- BEGIN:main -->



<script language="javascript" type="text/javascript">
    function submitForm(ac)
    {
        
        
        var siteName = $('#txtSiteName');

        var arrayInput = new Array(siteName);
            
        var hasError = validateEmptyValue(arrayInput);
            
            
        if (hasError) {
            alert('Vui lòng điền đầy đủ thông tin');
        } else {
            var form = document.phpForm;
            form.hdAction.value = ac;
            form.submit();
        }

    }
</script>

<style type="text/css">

  input[type=checkbox]:not(old),
        input[type=radio   ]:not(old){
          width   : 28px;
          margin  : 0;
          padding : 0;
          opacity : 0;
        }

        input[type=checkbox]:not(old) + label,
        input[type=radio   ]:not(old) + label{
          display      : inline-block;
          margin-left  : -28px;
          padding-left : 28px;
          background   : url('../templates/default/images/checks.png') no-repeat 0 0;
          line-height  : 24px;
        }

        input[type=checkbox]:not(old):checked + label{
          background-position : 0 -24px;
        }

        input[type=radio]:not(old):checked + label{
          background-position : 0 -48px;
        }

</style>


<div id="toolbar-box">
    <div class="d_divide5"></div>
    <div class="toolbar" id="toolbar">
        <table class="toolbar">
            <tbody>
                <tr>

                    <!-- BEGIN:update_button -->
                    <td class="button" id="toolbar-apply">
                        <a href="javascript:void()" onclick="submitForm('save')" class="toolbar">
                            <span class="icon-32-apply" title="Áp dụng"></span>
                            Lưu
                        </a>
                    </td>
                    <!-- END:update_button -->

                    <td class="button" id="toolbar-cancel">
                        <a href="." class="toolbar">
                            <span class="icon-32-cancel" title="Hủy"></span>
                            Hủy
                        </a>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>


    <div class="header icon_48_configuration">
        Cấu hình hệ thống:<br>
    </div>
    
    
    
    <div class="d_divide5"></div>
</div>

<div class="d_divide10"></div>
<div class="d_clear"></div>

<div id="element-box">

    <form method="post" name="phpForm">

        <div>
            <fieldset class="adminform">
                <legend>Thông tin người dùng</legend>	

                <div class="d_divide5"></div>

                <!--site name-->
                <div>
                    <label for="txtSiteName" class="d_label" >Tên website: <b style="color: red;">*</b></label>
                    <input class="d_text_input" name="txtSiteName" id="txtSiteName" title="Tên website" type="text" size="100" value="{SITE_NAME}">
                </div>

                <div class="d_divide5"></div>

                <!--status-->
                <div>
                    <label class="d_label" style="margin-right: 10px">Trạng thái website <b style="color: red;">*</b></label>

                    <!-- BEGIN:status_false -->
                    <input type="radio" name="offline" id="block0" value="1" checked="checked"/>
                    <label for="block0">Ẩn</label>
                    <input type="radio" name="offline" id="block1" value="0" />
                    <label for="block1">Hiện</label>
                    <!-- END:status_false -->

                    <!-- BEGIN:status_true -->
                    <input type="radio" name="offline" id="block0" value="1" />
                    <label for="block0">Ẩn</label>
                    <input type="radio" name="offline" id="block1" value="0" checked="checked"/>
                    <label for="block1">Hiện</label>
                    <!-- END:status_true -->
                </div>

                <div class="d_divide5"></div>

                <!--offline message-->
                <div>
                    <label for="txtOfflineMessage" class="d_label">Dòng tin thông báo khi website được ẩn </label>
                    <input class="d_text_input" name="txtOfflineMessage" id="txtOfflineMessage" value="{OFFLINE_MESSAGE}" size="100" maxlength="200" title="Dòng tin thông báo khi website được ẩn" >
                </div>


                <div class="d_divide5"></div>

                <!--email-->
                <div>
                    <label for="txtEmail" class="d_label" >Email: </label>
                    <input class="d_text_input" name="txtEmail" id="txtEmail" value="{EMAIL}" size="100" maxlength="255" title="Địa chỉ Email " type="text">
                </div>

                <div class="d_divide5"></div>

                <!--address-->
                <div>
                    <label for="txtAddress" class="d_label" >Địa chỉ: </label>
                    <input class="d_text_input" name="txtAddress" id="txtAddress" value="{ADDRESS}" size="100" maxlength="200" title="Địa chỉ" >
                </div>

                <div class="d_divide5"></div>

                <!--phone number-->
                <div>
                    <label for="txtPhoneNumber" class="d_label" >Điện thoại: </label>
                    <input class="d_text_input" name="txtPhoneNumber" id="txtPhoneNumber" value="{PHONE_NUMBER}" size="100" maxlength="200" title="Điện thoại" >
                </div>

                 <div class="d_divide5"></div>

                   <div>
                    <label class="d_label" style="margin-right: 10px">Chọn màu : <b style="color: red;">*</b></label>

                     <!-- BEGIN:status_do -->
                    <input type="radio" name="color" id="color_do" value="1" checked="checked"/>
                    <label for="block0"><span style="width:20px;height:10px; background:#cc2a41">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp</span></label>

                    <input type="radio" name="color" id="color_xanhluc" value="2" />
                    <label for="block1"><span style="width:20px;height:10px;background:#1464B3">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp </span></label>

                     <input type="radio" name="color" id="color_xanhlachuoi" value="3" />
                    <label for="block1"><span style="width:20px;height:10px;background:#0B871D">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp</span></label>
                     <!-- END:status_do -->


                     <!-- BEGIN:status_xanhluc -->
                    <input type="radio" name="color" id="color_do" value="1" />
                    <label for="block0"><span style="width:20px;height:10px; background:#cc2a41">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp</span></label>

                    <input type="radio" name="color" id="color_xanhluc" value="2" checked="checked"/>
                    <label for="block1"><span style="width:20px;height:10px;background:#1464B3">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp </span></label>

                     <input type="radio" name="color" id="color_xanhlachuoi" value="3" />
                    <label for="block1"><span style="width:20px;height:10px;background:#0B871D">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp</span></label>
                     <!-- END:status_xanhluc -->


                     <!-- BEGIN:status_xanhlacay -->
                    <input type="radio" name="color" id="color_do" value="1" />
                    <label for="block0"><span style="width:20px;height:10px; background:#cc2a41">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp</span></label>

                    <input type="radio" name="color" id="color_xanhluc" value="2" />
                    <label for="block1"><span style="width:20px;height:10px;background:#1464B3">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp </span></label>

                     <input type="radio" name="color" id="color_xanhlachuoi" value="3" checked="checked"/>
                    <label for="block1"><span style="width:20px;height:10px;background:#0B871D">&nbsp&nbsp&nbsp&nbsp &nbsp&nbsp&nbsp&nbsp</span></label>
                     <!-- END:status_xanhlacay -->

                </div>   


                <div class="d_divide5"></div>

                <!--marquee-->
                <div>
                    <label for="txtMarquee" class="d_label" >Dòng chữ chạy ngang (nếu có) </label>
                    <input class="d_text_input" name="txtMarquee" id="txtMarquee" value="{MARQUEE}" size="100" maxlength="255" title="Marquee (dòng chữ chạy ngang)" type="text">
                </div>


            </fieldset>			
        </div>
        <div class="d_clear"></div>                        
        <input type="hidden" name="hdAction" id="hdAction" />
    </form>

</div>
<noscript>
!Cảnh báo! Javascript phải được bật để chạy được các chức năng trong phần Quản trị		
</noscript>
<!-- END:main -->
